<template>
  <!-- 一级路由挂载点 -->
  <router-view></router-view>
</template>

<script>
// 导出的东西有给名字时要按需引入，加个大括号
import { getUserInfoAPI } from './api'
export default {
  // created () {
  //   const res = getUserInfoAPI()
  //   console.log(res)
  // }
}
</script>
<style lang="less">
#app {
}
</style>
